package com.education.platform.dao;

import com.education.platform.common.dao.BaseDao;
import org.springframework.stereotype.Repository;
import com.education.platform.dao.entity.SysMenuDO;

import java.util.List;

/**
* describe: 菜单
* @author : tomato
* @date: 2020-06-06 02:55:53.414
**/
@Repository
public interface SysMenuDao extends BaseDao<SysMenuDO> {
    /**
     * 获取用户的菜单权限
     * @param userId
     * @return
     */
    List<SysMenuDO> getMenusByUserId(Integer userId);
}